<html>
<head>
<meta charset="utf-8">
<title>login</title>
  <link href="<?php echo base_url();?>/public/css/bootstrap.min.css" rel="stylesheet">
  <link href="<?php echo base_url();?>/public/css/bootstrap-theme.min.css" rel="stylesheet">
    <link href="<?php echo base_url();?>/public/css/style.css" rel="stylesheet">
  </head>
<body>
<div class="container">
  <div class="row">
   <div class="col-md-6 col-md-offset-3">
	   <div class="panel panel-default" style="margin-top:150px">
		  <div class="panel-heading" >
		    <h3 class="panel-title">登录</h3>
			  </div>
			  <div class="panel-body">
				  <form method="post" action="">
					  <div class="form-group">
					    <label for="exampleInputEmail1">用户名</label>
					    <input type="text" class="form-control" placeholder="请输入用户名"  name="username" value="<?php echo set_value('username') ?>" size="50" />
					    <p><?php echo form_error('username'); ?></p>
	                   </div>
	                   <div class="form-group">
					    <label for="exampleInputPassword1">密码</label>
					    <input type="password" class="form-control" id="exampleInputPassword1" placeholder="请输入密码" name="password" value="<?php echo set_value('password') ?>" size="50">
					    <p><?php echo form_error('password'); ?></p>
					   <button type="submit" class="btn btn-block btn-success">提交</button>
					  </div>
				 </form>
			  </div>
		</div>
		
	 </div>
  </div>
</div>

</body>
</html>